<template>
  <div>
    <el-tabs type="border-card">
      <el-tab-pane label="修改密码">
        <el-form
          ref="form"
          style="width: 500px"
          :model="form"
          label-width="100px"
        >
          <el-form-item label="旧密码" prop="pwd1">
            <el-input v-model="form.pwd1" />
          </el-form-item>
          <el-form-item label="新密码" prop="pwd2">
            <el-input v-model="form.pwd2" show-password />
          </el-form-item>
          <el-form-item label="确认新密码" prop="pwd3">
            <el-input v-model="form.pwd3" show-password />
          </el-form-item>
          <el-form-item>
            <el-button type="primary">修改</el-button>
          </el-form-item>
        </el-form>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        pwd1: "",
        pwd2: "",
        pwd3: "",
      },
    };
  },
};
</script>

<style lang="scss" scoped>
</style>